package com.zipkin;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import zipkin.server.EnableZipkinServer;

/**
 * Created by yuxi on 16/12/12.
 */
@EnableZipkinServer
@EnableEurekaClient
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
public class ZipikinApplication {
    public static void main(String[] args) {
        System.err.println("启动链路追踪...");
        SpringApplication.run(ZipikinApplication.class, args);
        System.err.println("链路追踪启动成功");
    }
}
